/*
 * @Descripttion: 
 * @version: @ 1.0.0
 * @Author: 朱江洲
 * @Date: 2022-04-29 13:38:45
 * @LastEditors: 朱江洲
 * @LastEditTime: 2022-05-05 16:26:17
 */
import request from '@/utils/request'

// 查询资质-岗位列表
export function listQualificationPost(query) {
  return request({
    url: '/qualification/qualificationPost/list',
    method: 'get',
    params: query
  })
}

// 查询资质-岗位详细
export function getQualificationPost(id) {
  return request({
    url: '/qualification/qualificationPost/' + id,
    method: 'get'
  })
}

// 新增资质-岗位
export function addQualificationPost(data) {
  return request({
    url: '/qualification/qualificationPost',
    method: 'post',
    data: data
  })
}

// 修改资质-岗位
export function updateQualificationPost(data) {
  return request({
    url: '/qualification/qualificationPost',
    method: 'put',
    data: data
  })
}

// 删除资质-岗位
export function delQualificationPost(id) {
  return request({
    url: '/qualification/qualificationPost/' + id,
    method: 'delete'
  })
}

// 导出资质-岗位
export function exportQualificationPost(query) {
  return request({
    url: '/qualification/qualificationPost/export',
    method: 'get',
    params: query
  })
}

